package com.longcai.controller.messagepush;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.longcai.entity.messagepush.ClyjMessagePushFormwork;
import com.longcai.service.messagepush.ClyjMessagePushFormworkService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * <p>
 * 微信模板 前端控制器
 * </p>
 *
 * @author kh
 * @since 2019-05-09
 */
@Controller
@RequestMapping("/clyjMessagePushFormwork")
public class ClyjMessagePushFormworkController {

	@Autowired
	private ClyjMessagePushFormworkService clyjMessagePushFormworkService;
	
	@RequestMapping("/queryMessagePushFormwork")
	@ResponseBody
	public List<ClyjMessagePushFormwork> getFormwork(){
		QueryWrapper<ClyjMessagePushFormwork> wrapper= new QueryWrapper<ClyjMessagePushFormwork>();
		List<ClyjMessagePushFormwork>  list=clyjMessagePushFormworkService.selectList(wrapper);
		return list;
	}
	
}

